﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Blog.Core.Model.Models
{
    /// <summary>
    /// 按钮跟权限关联表
    /// 父类
    /// </summary>
    public class RoleModulePermissionRoot: RootEntity
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 菜单ID
        /// </summary>
        public int ModuleId { get; set; }

        /// <summary>
        /// api ID
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int PermissionId { get; set; }

    }
}
